package com.ylr.blog.framework.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * Created by IntelliJ IDEA.
 *
 * @author wyw
 * date: 2023-05-18 21:39:53
 * className: BlogSpaceEntity
 * version: 1.0
 * description:
 * 	用户博客空间表
 */
@Getter
@Setter
@ToString
@Accessors(chain = true)
@TableName("yb_blog_space")
public class BlogSpaceEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 空间主键
	 */
	@TableId
	private Long id;

	/**
	 * 父级主键
	 */
	private Long parentId;

	/**
	 * 父级路径
	 */
	private String parentPath;

	/**
	 * 用户主键
	 */
	private Long userId;

	/**
	 * 空间名称
	 */
	private String name;

	/**
	 * 排序等级
	 */
	private Integer sort;

	/**
	 * 状态[0-可用 1-停用]
	 */
	private Integer status;

	/**
	 * 删除状态[0-正常 1-删除]
	 */
	private Integer deleteStatus;

	/**
	 * 更新时间
	 */
	private Date updateTime;

	/**
	 * 创建时间
	 */
	private Date createTime;


}
